package CreationModel.BuilderPattern;

/**
 * @author 王蕾 [wanglei_dev@cyou-inc.com]
 * @date 2017-12-05 11:19:00
 */
public class BuilderPatternClient {

    public static void main(String[] args) {
        PersonDirector personDirector = new PersonDirector();

        Person woman = personDirector.constructPerson(new WomanBuilder());
        Person man = personDirector.constructPerson(new ManBuilder());

    }
}
